package com.ebocy.hammer.core.constants;

public interface GameMessageCode {
	public static final short BASE_MESSAGE = 0000;

	static final short GAME_MESSAGE = BASE_MESSAGE + 1000;
	static final short BATTLE_MESSAGE = BASE_MESSAGE + 2000;
	static final short WORLD_MESSAGE = BASE_MESSAGE + 3000;

	public static final short LOGIN = BASE_MESSAGE + 1;
	public static final short LOGOUT = BASE_MESSAGE + 2;
	public static final short HERT_BEAT = BASE_MESSAGE + 3;
	public static final short PING = BASE_MESSAGE + 4;

	/******************************************* Game Server commond **************************************************/
	public static final short GAME_ENTER_HOME_PAGE = GAME_MESSAGE + 1;
	/** 点击团队竞争按钮 */
	public static final short GAME_CLICK_TEAM_COMBAT = GAME_MESSAGE + 2;
	/** 用户选择形象 */
	public static final short GAME_CHANGE_ROLE = GAME_MESSAGE + 3;
	/** 购买操作 */
	public static final short GAME_SHOP_OPERATION = GAME_MESSAGE + 4;
	/** 更换操作 */
	public static final short GAME_ITEM_CHANGE = GAME_MESSAGE + 5;

	/******************************************** Battle Server commond *************************************************/
	/** 进入战斗房间 */
	@Deprecated
	public static final short ENTER_ROOM = BATTLE_MESSAGE + 1;
	/** 通知其他玩家有人进房间 */
	@Deprecated
	public static final short ENTER_ROOM_NOTIFY = BATTLE_MESSAGE + 2;
	/** 移动 */
	public static final short BATTLE_MOVE = BATTLE_MESSAGE + 3;
	/** 蓄力 */
	public static final short BATTLE_WORMUP = BATTLE_MESSAGE + 4;
	/** 攻击 */
	public static final short BATTLE_ATTACK = BATTLE_MESSAGE + 5;
	/** 蓄力准备后 */
	public static final short BATTLE_WORMUP_ATTACK_AFTER = BATTLE_MESSAGE + 6;
	/** 眩晕 */
	public static final short BATTLE_DIZZY = BATTLE_MESSAGE + 7;
	/** 安全降落中 */
	public static final short BATTLE_SAFE_LANDING = BATTLE_MESSAGE + 8;
	/** 安全降落 */
	public static final short BATTLE_SAFE_LAND = BATTLE_MESSAGE + 9;
	/** 坠落开始 */
	public static final short BATTLE_FALL = BATTLE_MESSAGE + 10;
	/** 坠落中 */
	public static final short BATTLE_FALLING = BATTLE_MESSAGE + 11;
	/** 爬梯子 */
	public static final short BATTLE_CLIMB_LADDER = BATTLE_MESSAGE + 12;
	/** 自动砖头持久 */
	public static final short BATTLE_BRICK = BATTLE_MESSAGE + 13;
	/** 进入正常状态 */
	public static final short BATTLE_SWITCH_NOMAL = BATTLE_MESSAGE + 14;
	/** 使用道具 */
	public static final short BATTLE_USE_ITEM = BATTLE_MESSAGE + 15;
	/** 触碰道具 */
	public static final short BATTLE_TOUCH_ITEM = BATTLE_MESSAGE + 16;
	/** 准备进入正常状态 */
	@Deprecated
	public static final short BATTLE_PREPAER_NOMAL = BATTLE_MESSAGE + 17;
	/** 蓄力攻击 */
	public static final short BATTLE_WORMUP_ATTACK = BATTLE_MESSAGE + 18;
	/** Buff效果熄灭 */
	public static final short BATTLE_STOP_BUFFER = BATTLE_MESSAGE + 19;
	/** 战斗准备 */
	public static final short BATTLE_PREPARE_COMBAT = BATTLE_MESSAGE + 20;
	/** 返回玩家坐标 */
	public static final short BATTLE_MEMBER_COORDINATE = BATTLE_MESSAGE + 21;
	/** 房间人员中途退出 */
	public static final short BATTLE_MEMBER_EXIT = BATTLE_MESSAGE + 22;
	/** 开始战斗 */
	public static final short BATTLE_COMBAT_START = BATTLE_MESSAGE + 23;
	/** 战斗过程中玩家信息更新  */
	public static final short BATTLE_UPDATE_FIGHT_STATISTIC = BATTLE_MESSAGE + 24;
	/** 结束战斗 */
	public static final short BATTLE_COMBAT_END = BATTLE_MESSAGE + 25;
	/** 继续配对通知 */
	public static final short BATTLE_CONTINUE_NOTIFY = BATTLE_MESSAGE + 26;
	/** 退出战斗，返回主页通知 */
	public static final short BATTLE_LEAVE_NOTIFY = BATTLE_MESSAGE + 27;
	/** 获得道具 */
	public static final short BATTLE_GOT = BATTLE_MESSAGE + 28;
	/** 将地块砸碎 */
	public static final short BATTLE_BREAK_BLOCK = BATTLE_MESSAGE + 29;
	/** 继续排队的服务器地址 */
	public static final short BATTLE_CONTINUE_IP = BATTLE_MESSAGE + 30;
	/** 主页的服务器地址 */
	public static final short BATTLE_HOME_PAGE_IP = BATTLE_MESSAGE + 31;
	/** 攻击落点 */
	public static final short BATTLE_ATTACK_POSITION = BATTLE_MESSAGE + 32;
	/** 被道具攻击 */
	public static final short BATTLE_ITEM_ATTACK = BATTLE_MESSAGE + 33;
	/**道具掉落*/
	public static final short BATTLE_DROP_ITEM=BATTLE_MESSAGE + 34;
	/**道具坠落过程*/
	public static final short BATTLE_ITEM_FALL = BATTLE_MESSAGE + 35;
	/**资源加载完成*/
	public static final short RESOURCE_INIT = BATTLE_MESSAGE + 36;

	/****************************************** World Server commond ***************************************************/
	/** 进入4V4房间 */
	public static final short WORLD_ENTER_4V4_ROOM = WORLD_MESSAGE + 1;
	/** 排队过程中成员变化 */
	public static final short WORLD_4V4_ROOM_UPDATE = WORLD_MESSAGE + 2;
	/** 取消团队竞技排队 */
	public static final short WORLD_QUIT_4V4_ROOM = WORLD_MESSAGE + 3;
	/** 房间人数已满 */
	public static final short WORLD_4V4_ROOM_FULL = WORLD_MESSAGE + 4;

}
